const express = require("express");
const { getAboutService, setAboutService } = require("../service/aboutService");
const router = express.Router();

router.get("/", async (req, res, next) => {
    res.send(await getAboutService());
})

router.post("/", async (req, res, next) => {
    res.send(await setAboutService(req.body));
})




module.exports = router;